package com.javasm.sys;

import java.util.Collection;
import java.util.List;

/**
 * @author:Dai
 * @className:ProService
 * @description: 岗位管理
 * @date:2022/9/10 19:52
 * @version: 1.0
 * @since: jdk11
 */
public interface PosService {

    Integer delPosByIds(List<String> posId);
    List<SysPos> selectAll(SysPos sysPos);
    int addPos(SysPos sysPos);
    List<SysPos> getAll();
    Collection<SysPos> getListByState(String posState);

    List<SysPos> getList();

    Collection<SysPos> getListByPosCode(String posCode);

    Collection<SysPos> getListByPosName(String posName);

    Integer delByPosId(String posId);
    Integer updatePos(SysPos sysPos);
    Integer updateByIdState(String posState,String posId);
}
